package club.hicode.daydayup.abc.support;

import java.util.concurrent.locks.LockSupport;

/**
 * 测试
 * @author Liu Chunfu
 * @date 2018-08-23 下午8:55
 **/
public class Stop extends Thread {

	private Object lock;

	public Stop(Object obj) {
		this.lock = obj;
	}

	@Override
	public void run() {
		LockSupport.park(lock);
		System.out.println(1);
	}
}

